#ifndef MYCFACTORY_H
#define MYCFACTORY_H

#include <QObject>
#include "public_global.h"

class myCData;

class myCFactory : public QObject
{
    Q_OBJECT
public:
    Q_INVOKABLE explicit myCFactory(QObject *parent = 0);
    ~myCFactory();
public:
    string m_strType;// 数据类名称
    string m_strField;// 数据名
    myCData * m_pData;// 若数据已创建则指向实际数据，否则为null
public:
    void DeleteData(void);
    myCData * CreateData(string strUnitName);
    myCFactory * Clone(void);
signals:

public slots:
};

#endif // MYCFACTORY_H
